package com.shycloud.mido.basic.api.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


/**
 * 城市表 实体
 * @author yyy
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BasCities extends Model<BasCities> {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/**
	 * 省份编号
	 */
	private String provinceid;

	/**
	 * 城市编号
	 */
	private String cityid;

	/**
	 * 城市名
	 */
	private String city;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}
}
